<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>爱贝搜索_爱贝亲子网</title>
        <link type="text/css" rel="stylesheet" href="template/images/css.css" />
    </head>
    <body id="index" class="discuzx">
        <div id="nav" class="cl">
        	 <div class="a">
                <div onmouseout="document.getElementById('navs-menu').style.display='none'" onmouseover="document.getElementById('navs-menu').style.display='block'" class="v2" id="navs-wraper-v2">
                    <p id="return-homepage"><a class="show-menu" href="http://www.i-bei.com/baby/" target="_blank">返回首页</a></p>
                    <ul id="navs-menu" style="display: none;">
						<li><a href="http://www.i-bei.com" target="_blank">爱贝门户</a></li>
						<li><a href="http://www.i-bei.com/baby" target="_blank">爱贝社区</a></li>
					</ul>
                </div>
            </div>
            <div class="b"></div>
		</div>

        <div class="srch">
            <h1 class="logo"><a href=""><img src="template/images/logo.png" alt="爱贝亲子网" /></a></h1>
            <form id="topSearchBar" action="" method="get">
				<table class="scform" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <div class="scform_tb cl">
								<?php if(!isset($mod) || $mod=="" || $mod<0){ ?>
                                	<a class="current" class="first" href="javascript:void(0);">全部</a>
                                <?php }else{ ?>
                                	<a href=".">全部</a>
                                <?php } ?>
                                <?php foreach($mod_result as $key => $value){ ?>
									<?php if(isset($mod) && $mod==$value['id']){?>
										<a class="current" href="javascript:void(0);"><?php echo $value['name'] ?></a>
									<?php }else{ ?>
										<a href="?m=<?php echo $value['id'] ?>"><?php echo $value['name'] ?></a>
									<?php } ?>
								<?php } ?>
								<a class="last" href="http://www.i-bei.com/baby/search.php?mod=user&amp;srchtxt=&amp;searchsubmit=yes" target="_blank">用户</a>
							</div>
							<?php if(isset($mod) && $mod!="" && $mod>-1){ ?>
								<input type="hidden" name="m" value="<?php echo $mod ?>" />
							<?php } ?>
                            <table class="scform_form" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td class="td_srchtxt"><input type="text" class="scform_srchtxt" name="k" /></td>
                                    <td class="td_srchbtn"><input type="submit" class="scform_submit" value="搜索" /></td>
                                </tr>
                            </table>                            
						</td>
                    </tr>
                </table>
			</form>
        </div>
        <div id="footer">
			<p class="copyright">
				&copy;2013 i-bei.com 沪ICP备10219774号 <span style="display:none"><script src="http://s14.cnzz.com/stat.php?id=5371028&web_id=5371028" language="JavaScript"></script></span>
			</p>
		</div>
    </body>
</html>